package com.sangeng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sangeng.domain.dto.AssignRolePermissionsDTO;
import com.sangeng.domain.entity.role.PermissionRole;

import java.util.List;

public interface IPermissionRoleService extends IService<PermissionRole> {
    /**
     * 获取角色权限
     */
    List<Long> getRolePermission(Long roleId);
    /**
     * 分配角色权限
     */
    void assignRolePermission(AssignRolePermissionsDTO assignRolePermissionsDTO);
}
